package com.xyf.sys.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderProfitsharing {
    private Long id;

    private String orderId;

    private String transactionId;

    private String outOrderNo;

    private Long profitsharingReceiverId;

    private BigDecimal orderAmount;

    private BigDecimal amount;

    private BigDecimal ratio;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;

    private String state;

    private String detailId;

    private String description;

    private String type;

    private String account;

    private String result;

    private String failReason;

    private String status;

    private String delFlag;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    private String remark;

}